package keeto.com.vn.classfied.model;

import java.io.Serializable;

import keeto.com.vn.classified.config.IConstant;


public class Category implements IConstant, Serializable {
	public static int CAN_PUBLISH_VIEW = 0;
	public static int CAN_VIEW = 1;
	public static int CAN_LINK = 2;
	
	
	private String remoteId = UNINITIALIZED_STRING;
	private String publishTemplate = UNINITIALIZED_STRING;
	private String searchTemplate = UNINITIALIZED_STRING;
	private String parentRID = UNINITIALIZED_STRING;
	private String icon = UNINITIALIZED_STRING;
	private String name = UNINITIALIZED_STRING;
	private int sort = UNINITIALIZED_INT;
	private boolean isHot = false;
	private int state = UNINITIALIZED_INT;
	private int count = UNINITIALIZED_INT;
	private int type = CAN_PUBLISH_VIEW;
	private String linkId = UNINITIALIZED_STRING; 
	
	public Category() {
	}
	
	public Category(String remoteId, String publishTemplate,
			String searchTemplate, String parentRID, String icon, String name,
			int sort, boolean isHot, int state, int count, int type,
			String linkId) {
		super();
		this.remoteId = remoteId;
		this.publishTemplate = publishTemplate;
		this.searchTemplate = searchTemplate;
		this.parentRID = parentRID;
		this.icon = icon;
		this.name = name;
		this.sort = sort;
		this.isHot = isHot;
		this.state = state;
		this.count = count;
		this.type = type;
		this.linkId = linkId;
	}



	public String getRemoteId() {
		return remoteId;
	}

	public void setRemoteId(String remoteId) {
		this.remoteId = remoteId;
	}
	
	public String getPublishTemplate() {
		return publishTemplate;
	}

	public void setPublishTemplate(String publishTemplate) {
		this.publishTemplate = publishTemplate;
	}

	public String getSearchTemplate() {
		return searchTemplate;
	}

	public void setSearchTemplate(String searchTemplate) {
		this.searchTemplate = searchTemplate;
	}

	public String getParentRID() {
		return parentRID;
	}

	public void setParentRID(String parentRID) {
		this.parentRID = parentRID;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public boolean isHot() {
		return isHot;
	}

	public void setHot(boolean isHot) {
		this.isHot = isHot;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public int getCount() {
		return count;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getType() {
		return type;
	}

	public void setLinkId(String linkId) {
		this.linkId = linkId;
	}

	public String getLinkId() {
		return linkId;
	}

}
